package com.ecoolex.chinadutyfree.retailer.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class StoreExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public StoreExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public StoreExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public StoreExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        StoreExample example = new StoreExample();
        return example.createCriteria();
    }

    public StoreExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public StoreExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public StoreExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public StoreExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public StoreExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStoreIdIsNull() {
            addCriterion("store.StoreId is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNotNull() {
            addCriterion("store.StoreId is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualTo(String value) {
            addCriterion("store.StoreId =", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.StoreId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualTo(String value) {
            addCriterion("store.StoreId <>", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.StoreId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThan(String value) {
            addCriterion("store.StoreId >", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.StoreId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualTo(String value) {
            addCriterion("store.StoreId >=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.StoreId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThan(String value) {
            addCriterion("store.StoreId <", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.StoreId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualTo(String value) {
            addCriterion("store.StoreId <=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.StoreId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStoreIdLike(String value) {
            addCriterion("store.StoreId like", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotLike(String value) {
            addCriterion("store.StoreId not like", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIn(List<String> values) {
            addCriterion("store.StoreId in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotIn(List<String> values) {
            addCriterion("store.StoreId not in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdBetween(String value1, String value2) {
            addCriterion("store.StoreId between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotBetween(String value1, String value2) {
            addCriterion("store.StoreId not between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("store.`Type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("store.`Type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("store.`Type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Type` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("store.`Type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Type` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("store.`Type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Type` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("store.`Type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Type` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("store.`Type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Type` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("store.`Type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Type` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("store.`Type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("store.`Type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("store.`Type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("store.`Type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdIsNull() {
            addCriterion("store.ExternalStoreId is null");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdIsNotNull() {
            addCriterion("store.ExternalStoreId is not null");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdEqualTo(String value) {
            addCriterion("store.ExternalStoreId =", value, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ExternalStoreId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdNotEqualTo(String value) {
            addCriterion("store.ExternalStoreId <>", value, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ExternalStoreId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdGreaterThan(String value) {
            addCriterion("store.ExternalStoreId >", value, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ExternalStoreId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdGreaterThanOrEqualTo(String value) {
            addCriterion("store.ExternalStoreId >=", value, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ExternalStoreId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdLessThan(String value) {
            addCriterion("store.ExternalStoreId <", value, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ExternalStoreId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdLessThanOrEqualTo(String value) {
            addCriterion("store.ExternalStoreId <=", value, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ExternalStoreId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdLike(String value) {
            addCriterion("store.ExternalStoreId like", value, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdNotLike(String value) {
            addCriterion("store.ExternalStoreId not like", value, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdIn(List<String> values) {
            addCriterion("store.ExternalStoreId in", values, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdNotIn(List<String> values) {
            addCriterion("store.ExternalStoreId not in", values, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdBetween(String value1, String value2) {
            addCriterion("store.ExternalStoreId between", value1, value2, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andExternalStoreIdNotBetween(String value1, String value2) {
            addCriterion("store.ExternalStoreId not between", value1, value2, "externalStoreId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("store.`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("store.`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("store.`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("store.`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("store.`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("store.`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("store.`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("store.`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`Name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("store.`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("store.`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("store.`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("store.`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("store.`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("store.`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andLogoIsNull() {
            addCriterion("store.Logo is null");
            return (Criteria) this;
        }

        public Criteria andLogoIsNotNull() {
            addCriterion("store.Logo is not null");
            return (Criteria) this;
        }

        public Criteria andLogoEqualTo(String value) {
            addCriterion("store.Logo =", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Logo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLogoNotEqualTo(String value) {
            addCriterion("store.Logo <>", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Logo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLogoGreaterThan(String value) {
            addCriterion("store.Logo >", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Logo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLogoGreaterThanOrEqualTo(String value) {
            addCriterion("store.Logo >=", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Logo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLogoLessThan(String value) {
            addCriterion("store.Logo <", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Logo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLogoLessThanOrEqualTo(String value) {
            addCriterion("store.Logo <=", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Logo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLogoLike(String value) {
            addCriterion("store.Logo like", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotLike(String value) {
            addCriterion("store.Logo not like", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoIn(List<String> values) {
            addCriterion("store.Logo in", values, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotIn(List<String> values) {
            addCriterion("store.Logo not in", values, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoBetween(String value1, String value2) {
            addCriterion("store.Logo between", value1, value2, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotBetween(String value1, String value2) {
            addCriterion("store.Logo not between", value1, value2, "logo");
            return (Criteria) this;
        }

        public Criteria andIntroductionIsNull() {
            addCriterion("store.Introduction is null");
            return (Criteria) this;
        }

        public Criteria andIntroductionIsNotNull() {
            addCriterion("store.Introduction is not null");
            return (Criteria) this;
        }

        public Criteria andIntroductionEqualTo(String value) {
            addCriterion("store.Introduction =", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Introduction = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroductionNotEqualTo(String value) {
            addCriterion("store.Introduction <>", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Introduction <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThan(String value) {
            addCriterion("store.Introduction >", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Introduction > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThanOrEqualTo(String value) {
            addCriterion("store.Introduction >=", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Introduction >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThan(String value) {
            addCriterion("store.Introduction <", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Introduction < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThanOrEqualTo(String value) {
            addCriterion("store.Introduction <=", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Introduction <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntroductionLike(String value) {
            addCriterion("store.Introduction like", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotLike(String value) {
            addCriterion("store.Introduction not like", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionIn(List<String> values) {
            addCriterion("store.Introduction in", values, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotIn(List<String> values) {
            addCriterion("store.Introduction not in", values, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionBetween(String value1, String value2) {
            addCriterion("store.Introduction between", value1, value2, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotBetween(String value1, String value2) {
            addCriterion("store.Introduction not between", value1, value2, "introduction");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("store.Address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("store.Address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("store.Address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Address = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("store.Address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Address <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("store.Address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Address > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("store.Address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Address >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("store.Address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Address < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("store.Address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Address <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("store.Address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("store.Address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("store.Address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("store.Address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("store.Address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("store.Address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNull() {
            addCriterion("store.Telephone is null");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNotNull() {
            addCriterion("store.Telephone is not null");
            return (Criteria) this;
        }

        public Criteria andTelephoneEqualTo(String value) {
            addCriterion("store.Telephone =", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Telephone = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTelephoneNotEqualTo(String value) {
            addCriterion("store.Telephone <>", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Telephone <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThan(String value) {
            addCriterion("store.Telephone >", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Telephone > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThanOrEqualTo(String value) {
            addCriterion("store.Telephone >=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Telephone >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThan(String value) {
            addCriterion("store.Telephone <", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Telephone < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThanOrEqualTo(String value) {
            addCriterion("store.Telephone <=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Telephone <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTelephoneLike(String value) {
            addCriterion("store.Telephone like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotLike(String value) {
            addCriterion("store.Telephone not like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneIn(List<String> values) {
            addCriterion("store.Telephone in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotIn(List<String> values) {
            addCriterion("store.Telephone not in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneBetween(String value1, String value2) {
            addCriterion("store.Telephone between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotBetween(String value1, String value2) {
            addCriterion("store.Telephone not between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("store.phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("store.phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("store.phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.phone = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("store.phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.phone <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("store.phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.phone > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("store.phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.phone >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("store.phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.phone < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("store.phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.phone <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("store.phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("store.phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("store.phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("store.phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("store.phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("store.phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlIsNull() {
            addCriterion("store.HomePageUrl is null");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlIsNotNull() {
            addCriterion("store.HomePageUrl is not null");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlEqualTo(String value) {
            addCriterion("store.HomePageUrl =", value, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.HomePageUrl = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHomePageUrlNotEqualTo(String value) {
            addCriterion("store.HomePageUrl <>", value, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.HomePageUrl <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHomePageUrlGreaterThan(String value) {
            addCriterion("store.HomePageUrl >", value, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.HomePageUrl > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHomePageUrlGreaterThanOrEqualTo(String value) {
            addCriterion("store.HomePageUrl >=", value, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.HomePageUrl >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHomePageUrlLessThan(String value) {
            addCriterion("store.HomePageUrl <", value, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.HomePageUrl < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHomePageUrlLessThanOrEqualTo(String value) {
            addCriterion("store.HomePageUrl <=", value, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.HomePageUrl <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHomePageUrlLike(String value) {
            addCriterion("store.HomePageUrl like", value, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlNotLike(String value) {
            addCriterion("store.HomePageUrl not like", value, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlIn(List<String> values) {
            addCriterion("store.HomePageUrl in", values, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlNotIn(List<String> values) {
            addCriterion("store.HomePageUrl not in", values, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlBetween(String value1, String value2) {
            addCriterion("store.HomePageUrl between", value1, value2, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andHomePageUrlNotBetween(String value1, String value2) {
            addCriterion("store.HomePageUrl not between", value1, value2, "homePageUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlIsNull() {
            addCriterion("store.DetailUrl is null");
            return (Criteria) this;
        }

        public Criteria andDetailUrlIsNotNull() {
            addCriterion("store.DetailUrl is not null");
            return (Criteria) this;
        }

        public Criteria andDetailUrlEqualTo(String value) {
            addCriterion("store.DetailUrl =", value, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.DetailUrl = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailUrlNotEqualTo(String value) {
            addCriterion("store.DetailUrl <>", value, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.DetailUrl <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailUrlGreaterThan(String value) {
            addCriterion("store.DetailUrl >", value, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.DetailUrl > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailUrlGreaterThanOrEqualTo(String value) {
            addCriterion("store.DetailUrl >=", value, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.DetailUrl >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailUrlLessThan(String value) {
            addCriterion("store.DetailUrl <", value, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.DetailUrl < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailUrlLessThanOrEqualTo(String value) {
            addCriterion("store.DetailUrl <=", value, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.DetailUrl <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailUrlLike(String value) {
            addCriterion("store.DetailUrl like", value, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlNotLike(String value) {
            addCriterion("store.DetailUrl not like", value, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlIn(List<String> values) {
            addCriterion("store.DetailUrl in", values, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlNotIn(List<String> values) {
            addCriterion("store.DetailUrl not in", values, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlBetween(String value1, String value2) {
            addCriterion("store.DetailUrl between", value1, value2, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andDetailUrlNotBetween(String value1, String value2) {
            addCriterion("store.DetailUrl not between", value1, value2, "detailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlIsNull() {
            addCriterion("store.OrderDetailUrl is null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlIsNotNull() {
            addCriterion("store.OrderDetailUrl is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlEqualTo(String value) {
            addCriterion("store.OrderDetailUrl =", value, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.OrderDetailUrl = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlNotEqualTo(String value) {
            addCriterion("store.OrderDetailUrl <>", value, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.OrderDetailUrl <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlGreaterThan(String value) {
            addCriterion("store.OrderDetailUrl >", value, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.OrderDetailUrl > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlGreaterThanOrEqualTo(String value) {
            addCriterion("store.OrderDetailUrl >=", value, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.OrderDetailUrl >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlLessThan(String value) {
            addCriterion("store.OrderDetailUrl <", value, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.OrderDetailUrl < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlLessThanOrEqualTo(String value) {
            addCriterion("store.OrderDetailUrl <=", value, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.OrderDetailUrl <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlLike(String value) {
            addCriterion("store.OrderDetailUrl like", value, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlNotLike(String value) {
            addCriterion("store.OrderDetailUrl not like", value, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlIn(List<String> values) {
            addCriterion("store.OrderDetailUrl in", values, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlNotIn(List<String> values) {
            addCriterion("store.OrderDetailUrl not in", values, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlBetween(String value1, String value2) {
            addCriterion("store.OrderDetailUrl between", value1, value2, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andOrderDetailUrlNotBetween(String value1, String value2) {
            addCriterion("store.OrderDetailUrl not between", value1, value2, "orderDetailUrl");
            return (Criteria) this;
        }

        public Criteria andServiceIdIsNull() {
            addCriterion("store.ServiceId is null");
            return (Criteria) this;
        }

        public Criteria andServiceIdIsNotNull() {
            addCriterion("store.ServiceId is not null");
            return (Criteria) this;
        }

        public Criteria andServiceIdEqualTo(String value) {
            addCriterion("store.ServiceId =", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ServiceId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceIdNotEqualTo(String value) {
            addCriterion("store.ServiceId <>", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ServiceId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThan(String value) {
            addCriterion("store.ServiceId >", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ServiceId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThanOrEqualTo(String value) {
            addCriterion("store.ServiceId >=", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ServiceId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThan(String value) {
            addCriterion("store.ServiceId <", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ServiceId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThanOrEqualTo(String value) {
            addCriterion("store.ServiceId <=", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.ServiceId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceIdLike(String value) {
            addCriterion("store.ServiceId like", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotLike(String value) {
            addCriterion("store.ServiceId not like", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdIn(List<String> values) {
            addCriterion("store.ServiceId in", values, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotIn(List<String> values) {
            addCriterion("store.ServiceId not in", values, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdBetween(String value1, String value2) {
            addCriterion("store.ServiceId between", value1, value2, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotBetween(String value1, String value2) {
            addCriterion("store.ServiceId not between", value1, value2, "serviceId");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("store.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("store.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("store.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("store.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("store.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("store.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("store.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("store.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("store.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("store.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("store.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("store.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("store.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("store.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("store.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("store.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("store.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("store.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("store.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("store.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("store.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("store.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("store.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("store.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("store.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("store.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("store.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("store.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("store.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("store.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("store.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("store.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("store.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("store.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("store.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("store.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("store.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("store.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("store.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("store.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("store.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("store.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("store.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("store.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("store.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("store.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("store.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("store.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("store.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("store.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("store.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("store.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("store.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("store.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("store.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("store.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("store.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("store.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("store.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("store.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(Store.Column column) {
            addCriterion(new StringBuilder("store.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("store.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("store.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("store.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("store.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private StoreExample example;

        protected Criteria(StoreExample example) {
            super();
            this.example = example;
        }

        public StoreExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(Store.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(Store.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.chinadutyfree.retailer.entity.StoreExample example);
    }
}